package com.dxq.oa.entity;

import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class User {

    private int id;
    private String username;
    private String password;
    private String role;
    private String useraccount;
    private String code;

    private String email;
    private String detailAddress;

    private String isValid;

    private Date startdate;
    private Date enddate;
    private String phone;
    private String isAdmin;

    private String photo;

    private List<Role> userrole = new ArrayList<>();
}
